﻿CREATE TABLE [dbo].[Movie] (
    [Id]            BIGINT        NOT NULL IDENTITY,
    [Title]         VARCHAR (100) NOT NULL,
    [OriginalTitle] VARCHAR (100) NULL,
    [OriginCountry] VARCHAR (30)  NULL,
    [Director]      VARCHAR (60)  NULL,
    [ReleaseDate]   DATETIME      NULL,
    [GenreId]       BIGINT        NOT NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_Movie_Genre] FOREIGN KEY ([GenreId]) REFERENCES [dbo].[Genre] ([Id])
);

